//
//  BROrderListTableViewCell.h
//  BrezzeSaaS
//
//  Created by IOS on 2021/9/28.
//  Copyright © 2021 Brezze GWG. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BROrderListModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface BROrderListTableViewCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UIView *bgView;
@property (weak, nonatomic) IBOutlet UILabel *statusLB;
@property (weak, nonatomic) IBOutlet UILabel *timeLB;
@property (weak, nonatomic) IBOutlet UILabel *branchLB;
@property (weak, nonatomic) IBOutlet UILabel *estimatedLB;
@property (weak, nonatomic) IBOutlet UILabel *priceLB;
/// 订单编号
@property (nonatomic,strong) UILabel *orderNoLB;
/// 柜机SN
@property (nonatomic,strong) UILabel *cabinetSNLB;
/// 租借时间
@property (nonatomic,strong) UILabel *rentTimeLB;
/// 租借地点
@property (nonatomic,strong) UILabel *rentLocationLB;
/// 计费规则
@property (nonatomic,strong) UILabel *billingRuleLB;
/// 信息容器视图
@property (nonatomic,strong) UIView *infoContainerView;

@property (weak, nonatomic) IBOutlet UIView *statueView;
@property (nonatomic,assign) NSInteger status;

@property (nonatomic,strong) BROrderListModel *dto;

/// 列表类型，1 swap 区分处理
@property (nonatomic,assign) NSInteger type;
@property (weak, nonatomic) IBOutlet UIView *bottomView;
@property (weak, nonatomic) IBOutlet UIView *line;
@property (weak, nonatomic) IBOutlet UILabel *bottomL;
@property (weak, nonatomic) IBOutlet UIImageView *bottomArrowImg;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *bottomH;

@property (nonatomic,assign) BOOL hasBottom;

@property (nonatomic,copy) BRIntBlock toPayBlock;

@end

NS_ASSUME_NONNULL_END
